package com.decent.service.impl;

import com.decent.dao.OperationLogMapper;
import com.decent.service.OperationLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: 吃瓜
 * @Description:
 * @Date Created in 2021-03-31 23:49
 * @Modified By:
 */
@Service
public class OperationLogServiceImpl implements OperationLogService {

    @Autowired
    private OperationLogMapper operationLogMapper;

    /**
     * 操作日志
     *
     * @param content 操作内容
     * @return 影响行数
     */
    @Override
    public Integer insert(String content) {
        return operationLogMapper.insert(content);
    }
}
